import request from '../utils/request.js'

export const getActivityInfoByPid = function( data ) {
	return request( {
		url: '/port/activity/getActByPbId',
		method: 'POST',
		data
	} )
}

export const getActivityInfoBySid = function( data ) {
	return request( {
		url: '/port/activity/getActByShareId',
		method: 'POST',
		data
	} )
}

export const getActivityInfoByAid = function( data ) {
	return request( {
		url: '/port/activity/queryPortActivity',
		method: 'POST',
		data
	} )
}

export const shareActivity = function( data ) {
	return request( {
		url: '/port/activity/activityShare',
		method: 'POST',
		data
	} )
}

export const createPoster = function( data ) {
	return request( {
		url: '/port/activity/playBillCreate',
		method: 'POST',
		data
	} )
}

export const getActivityList = function( data ) {
	return request( {
		url: '/port/activity/queryActivityList',
		method: 'POST',
		data
	} )
}
